package com.js.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Attendance {
    private int id;
    private String name;
    private String status;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    private Date time;
}
